import { getCeshiData } from "../../utils/api";

const ceshiModule = {
  state: {
    ceshidata: null,
  },
  mutations: {
    getceshida(state, playload) {
      state.ceshidata = playload.result;
    },
  },
  actions: {
    getceshidaasync({ commit }) {
      getCeshiData().then((res) => {
        commit("getceshida", res.data);
      });
    },
  },

  modules: {},
};

export default ceshiModule;
